import request from "./request";

/**
 * @description: 请求用户信息 
 * @return {*}
 */
export function getUserInfoAPI(data) {
    return request(`app/getMiniUserInfo/${data.openId}`, 'GET', data)
}

/**
 * @description: 更新用户信息 
 * @return {*}
 */
export function updateUserInfoAPI(data) {
    return request(`app/updateMiniUser`, 'POST', data)
}
